//
//  HD_HSP_MainWeb_ViewController.m
//  HDLiaoNingMeseum
//
//  Created by HDHaoShaoPeng on 2017/8/9.
//  Copyright © 2017年 HDNiuKuiming. All rights reserved.
//

#import "HD_HSP_MainWeb_ViewController.h"

@interface HD_HSP_MainWeb_ViewController ()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIWebView *myWebView;

@end

@implementation HD_HSP_MainWeb_ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.titleLabel.text = self.model.FileName;
    self.titleLabel.font = [UIFont fontWithName:@"FZQKBYSJW--GB1-0" size:18.0];
    
    
//    NSURL *url = [NSURL URLWithString:model.]
//    NSURLRequest *request = [NSURLRequest requestWithURL:<#(nonnull NSURL *)#>]
//    self.myWebView loadRequest:<#(nonnull NSURLRequest *)#>
    
    
//    NSString *path = [NSString stringWithFormat:@"%@/Resource/%@_B/%@/%@.html", declare.applicationLibraryDirectory, declare.language.uppercaseString, self.myRelics.identify,self.myRelics.identify];
//    NSString *htmlString = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:nil];
//    [_myWeb loadHTMLString:htmlString baseURL:[NSURL URLWithString:path]];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)backClicked:(id)sender {
    [self.navigationController popViewControllerAnimated:YES];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
